module.exports = function (sql,callback){
    const mysql = require('mysql');
    const conn = mysql.createConnection({
        host:'localhost',
        user:'root',
        password:'',
        port:'3308',
        database:'it62'
    });

    conn.connect();
    
    conn.query(sql,callback),

    conn.end();
    
}